﻿package  {		import com.display.slides.AbstractSlide	import com.dcliment.utils.XMLUtils;		import flash.display.MovieClip;	import flash.events.MouseEvent;	import com.events.SlideEvent;	import com.display.slides.IContent;	import flash.events.Event;		public class Slide_02 extends AbstractSlide implements IContent	{				public function Slide_02() 		{						this.addEventListener(Event.ADDED_TO_STAGE, onAddedToStage, false, 0, true);				}		private function onAddedToStage(e:Event):void		{			this.removeEventListener(Event.ADDED_TO_STAGE, onAddedToStage);						var button:MovieClip = this["mButton"];				button.addEventListener(MouseEvent.CLICK, onButtonClick, false, 0, true);				button.buttonMode = true;		}				private function onButtonClick(e:MouseEvent):void		{			dispatchEvent(new SlideEvent(SlideEvent.NEW_SLIDE, 3));		}			}	}